export interface searchModel {
  trademarkList:trademarkData,
  attrsList:attrsData,
  goodsList:goodsData,
  total:number,
  pageSize:number,
  pageNo:number,
  totalPages:number,
}

export type trademarkData = trademark[]

// trademarkList 里面的每一条数据
export interface trademark {
  tmId:number,
  tmName:string,
}

export type attrsData = attrs[]

// attrsList 一条数据
export interface attrs {
  attrId:number,
  attrValueList:[

  ],
  attrName:string,
}

export type goodsData = goods[]

// goodsList 一条数据
export interface goods {
  
  id: number,
  defaultImg: string,
  title: string,
  price: number,
  createTime: null,
  tmId: null,
  tmName: null,
  category1Id: null,
  category1Name: null,
  category2Id: null,
  category2Name: null,
  category3Id: null,
  category3Name: null,
  hotScore: number
  attrs: null
}

// 请求体参数
export interface searchParam{
  category1Id :string 
  category2Id :string
  category3Id :string
  keyword :string
  props :[]
  trademark :string
}
